STEP 10: We'll set up the random number we generated to pick rock, paper, or scissors for the computer.
This conditional will tell the computer to choose "rock" if the random number generated is 1.
- Go to and drag an if block into the bottom of your program.
- Change the test variable in the if-statement to random_choice. Change the test value from "yes" to 1.
- Click GRAPHICS then . Drag Rock indented INSIDE of the if-statement you just made.
To navigate the page using the TAB key, first press ESC to exit the code editor.